<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>页面</title>
    <script src="vue.js"></script>
</head>
<body>
<div id="app">
    <input type="text" value="张三"><br>
    <a href="https://www.baidu.com" target="_blank">超链接1</a><br><br>

    <!--将input的value和a的href绑定到info上-->
    <!--v-bind:属性名="变量"，动态绑定属性值-->
    <input type="text" v-bind:value="info"><br>
    <a v-bind:href="url" target="_blank">超链接2</a>
    <br><br>
    <!--简写方式，:属性名="变量"-->
    <input type="text" :value="info"><br>
    <a :href="url" target="_blank">超链接3</a>
</div>
<script>
    let v = new Vue({
        el: '#app',
        data: {
            info: "李四",
            url: "01入门案例.html"
        }
    })
</script>
</body>
</html>